import React, { useState } from 'react'
import Hello from './components/Hello'
import Tab from './components/Tab'

export default function LayOut () {
  const [userInfo] = useState({
    title: 'xiaozhu',
    usename: '猪仔',
    composition: {
      frontend: 'React',
      backend: 'javaweb'
    }
  })
  return (
    <div>
      <Tab userInfo={userInfo}></Tab>
      <Hello userInfo={userInfo}></Hello>
    </div>
  )
}
